@layout("/common/_form.html",{js:["/assets/stageData/stageData_add.js","/assets/common/libs/hls/hls.min.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="stageDataForm" lay-filter="stageDataForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row" >
                    <input name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">专业<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="specialtyId" name="specialtyId" lay-filter="specialtyId" lay-verify="required" required></select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">阶段<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="stageId" name="stageId" lay-filter="stageId" lay-verify="required" required></select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">知识点ids<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="knowledgeContentIds" name="knowledgeContentIds" type="hidden" />
                            <input id="knowledgeContentNames" readonly="readonly" type="text" placeholder="请选择知识点" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label videolabel">视频标题<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="dataUrl" name="dataUrl" type="hidden"/>
                            <input id="videoUrl" name="videoUrl" type="hidden"/>
                            <input id="videoTitle" name="videoTitle" placeholder="请输入视频标题" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label id="videoLabel" class="layui-form-label">上传视频<span style="color: red;"></span></label>

                        <div class="layui-input-block" style="clear: both;">
                            <div style="float: left;">
                                <button type="button" class="layui-btn layui-btn-sm" id="videoBtn"><i class="layui-icon">&#xe6ed;</i>选择视频</button>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label id="dataLabel" class="layui-form-label">上传资料<span style="color: red;"></span></label>
                        <div class="layui-input-block" style="clear: both;">
                            <div style="float: left;">
                                <button type="button" class="layui-btn layui-btn-sm" id="fileBtn"><i class="layui-icon">&#xe655;</i>选择资料</button>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="radio" name="status" value="1" title="启用" checked/>
                            <input type="radio" name="status" value="0" title="禁用"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排序<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="sort" name="sort" placeholder="请输入排序" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}